package com.ruoyi.web.zbAdmin.domain;

import com.easy.mongodb.common.annotation.Table;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


import java.io.Serializable;

/**
 * 充值记录
 * @author liandyao
 * @date 2022/11/30 10:06
 */
@Table(value =  "cai_pay_log")
@Data
public class CaiPayLog implements Serializable {

    private String _id ;

    @ApiModelProperty(value = "用户id")
    private String userId ;

    @ApiModelProperty(value = "用户账号")
    private String phone ;

    @ApiModelProperty(value = "充值时间")
    private Long timestamp;

    @ApiModelProperty(value = "充值订单号")
    private String outTradeNo ;

    @ApiModelProperty(value = "充值类型weixin,alipay")
    private String payType ;

    @ApiModelProperty(value = "充值金额")
    private Integer payMoney ;

    @ApiModelProperty(value = "到账天数")
    private Integer days ;

    @ApiModelProperty(value = "交易状态 10 未支付  20 已支付")
    private Integer status ;

    @ApiModelProperty(value = "备注")
    private String remark;


    @ApiModelProperty(value = "第三方支付产生的订单号")
    private String tradeNo ;//支付宝和微信返回的订单号


}
